$OpenBSD: patch-dcmimgle_include_dcmtk_dcmimgle_dimosct_h,v 1.1 2017/05/06 16:59:31 espie Exp $
two phase name lookup

Index: dcmimgle/include/dcmtk/dcmimgle/dimosct.h
--- dcmimgle/include/dcmtk/dcmimgle/dimosct.h.orig
+++ dcmimgle/include/dcmtk/dcmimgle/dimosct.h
@@ -90,7 +90,7 @@ class DiMonoScaleTemplate
         {
             if (pixel->getCount() == OFstatic_cast(unsigned long, columns) * OFstatic_cast(unsigned long, rows) * frames)
             {
-                scale(OFstatic_cast(const T *, pixel->getData()), pixel->getBits(), interpolate, pvalue);
+                this->scale(OFstatic_cast(const T *, pixel->getData()), pixel->getBits(), interpolate, pvalue);
                 this->determineMinMax();
             } else {
                 if (DicomImageClass::checkDebugLevel(DicomImageClass::DL_Warnings))
@@ -130,7 +130,7 @@ class DiMonoScaleTemplate
             {
                 const T value = OFstatic_cast(T, OFstatic_cast(double, DicomImageClass::maxval(bits)) *
                     OFstatic_cast(double, pvalue) / OFstatic_cast(double, DicomImageClass::maxval(WIDTH_OF_PVALUES)));
-                scaleData(&pixel, &this->Data, interpolate, value);
+                this->scaleData(&pixel, &this->Data, interpolate, value);
              }
         }
     }
